import request from '@/api/basic/http'

//上传文件
export function upload(data,config) {
  return request({
    url: '/file',
    method: 'post',
    data,
    config:{
        headers: {
            'Content-Type': 'multipart/form-data'
        }
    },
  })
} 